Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#38 revert flag #93

Merged
merged 18 commits into from
Jun 6, 2021
Merged

Conversation

joshuaherrera
Copy link
Contributor

This pull request resolves #38 .

Currently, I rely on the user input record / project key to fetch the correct record, since relying on the struct's Key field can cause the record / project to not be found as reported in issues #81 and #89 , though I don't think this will need to change when those issues are resolved.

@dominikbraun dominikbraun self-requested a review May 30, 2021 09:12
@dominikbraun
Copy link
Owner

@joshuaherrera Feel free to ping me once this is ready to review!

@joshuaherrera
Copy link
Contributor Author

@dominikbraun This is ready, I won't make anymore changes, unless requested.

Copy link
Owner

@dominikbraun dominikbraun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this, I like your implementation! It looks pretty good to me, I only requested an extremely nit-picky change to emphasize that the --revert flag always leads to an return without any other logic being executed. My other questions regard runtime performance.

cli/delete.go Outdated Show resolved Hide resolved
cli/delete.go Outdated Show resolved Hide resolved
cli/edit.go Outdated Show resolved Hide resolved
cli/edit.go Outdated Show resolved Hide resolved
fs/fs.go Outdated Show resolved Hide resolved
fs/fs.go Outdated Show resolved Hide resolved
joshuaherrera and others added 5 commits June 5, 2021 08:18
Co-authored-by: Dominik Braun <mail@dominikbraun.io>
Co-authored-by: Dominik Braun <mail@dominikbraun.io>
Co-authored-by: Dominik Braun <mail@dominikbraun.io>
Co-authored-by: Dominik Braun <mail@dominikbraun.io>
Copy link
Owner

@dominikbraun dominikbraun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for implementing this powerful feature! 👍 This will be the main feature of the next minor release.

@dominikbraun dominikbraun merged commit c685d0c into dominikbraun:main Jun 6, 2021
@dominikbraun
Copy link
Owner

This PR is contained in release 0.8.0.

@joshuaherrera
Copy link
Contributor Author

LGTM, thanks for implementing this powerful feature! This will be the main feature of the next minor release.

It was a pleasure! I really enjoy the project layout you set forth in timetrace, it makes coding quite enjoyable!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce --revert flag for timetrace edit and timetrace delete commands
2 participants